package com.centersoft.flowable.db.task.convert;

import com.centersoft.flowable.core.model.TaskDefExtension;
import com.centersoft.flowable.db.task.entity.TaskDefExtensionEntity;

public class TaskDefExtensionConvert {
    public static TaskDefExtension toModel(TaskDefExtensionEntity entity) {
        TaskDefExtension taskDefExtension = new TaskDefExtension();
        taskDefExtension.setId(entity.getId());
        taskDefExtension.setTaskDefId(entity.getTaskDefId());
        taskDefExtension.setProcessDefId(entity.getProcessDefId());
        return taskDefExtension;
    }
}
